export default () => {
    return {
        submitText: '修改',
        size: 'small',
        labelWidth: 120,
        index: true,
        indexLabel: "序号",
        menuAlign: 'center',
        menuPosition: "right",
        searchIndex: 1,
        searchIcon: true,
        permissionBtn: {
            addBtn: 'sys:sysNotice:add',
            editBtn: 'sys:sysNotice:edit',
            viewBtn: 'sys:sysNotice:info',
            delBtn: 'sys:sysNotice:delete',
        },
        column: [
            {
                "addDisplay": false,
                "editDisplay": false,
                "label": "主键",
                "prop": "id",
                "hide": true,
                "type": "input"
            },
            {
                "addDisplay": true,
                "editDisplay": true,
                "label": "标题",
                span: 24,
                "prop": "title",
                "showColumn": true,
                "type": "input"
            },
            {
                "addDisplay": true,
                "editDisplay": true,
                "label": "通知类型",
                span: 24,
                "prop": "noticeType",
                "showColumn": true,
                "type": "select",
                dicData: [
                    {label: "公告", value: 0},
                    {label: "通知", value: 1},
                ]
            },

            {
                "addDisplay": true,
                "editDisplay": true,
                "label": "内容",
                "prop": "content",
                "showColumn": true,
                "type": "ueditor",
                span: 24,
                component: 'avue-ueditor'
            },
            {
                "addDisplay": true,
                "editDisplay": true,
                "label": "通知客户端",
                span: 24,
                "prop": "tipsClient",
                "showColumn": true,
                "type": "radio",
                dicData: [
                    {label: "否", value: 0},
                    {label: "是", value: 1},
                ]
            },
            {
                "addDisplay": false,
                "editDisplay": false,
                "label": "创建人",
                "prop": "createBy",
                "hide": true,
                "type": "input",
            },
            {
                "addDisplay": false,
                "editDisplay": false,
                "label": "创建时间",
                "prop": "createTime",
                "hide": true,
                "type": "datetime"
            },
            {
                "addDisplay": false,
                "editDisplay": false,
                "label": "修改人",
                "prop": "updateBy",
                "hide": true,
                "type": "input"
            },
            {
                "addDisplay": false,
                "editDisplay": false,
                "label": "修改时间",
                "prop": "updateTime",
                "hide": true,
                "type": "datetime"
            }
        ]

    }
}
